package com.livepan.server.dao;

import com.livepan.server.dataobject.AnnouncementDO;

import java.util.List;

public interface AnnouncementDOMapper {
    int deleteByPrimaryKey(Integer newId);

    int insert(AnnouncementDO record);

    int insertSelective(AnnouncementDO record);

    AnnouncementDO selectByPrimaryKey(Integer newId);

    int updateByPrimaryKeySelective(AnnouncementDO record);

    int updateByPrimaryKeyWithBLOBs(AnnouncementDO record);

    int updateByPrimaryKey(AnnouncementDO record);

    List<AnnouncementDO> getAnnouncementList(Integer contestId);
}